import './style.css';
import printMe from './print.js';

function createElement(targetName){
	var tar = document.createElement(targetName);
	tar.innerText = "hello world";
	return tar;
}
var btn = createElement('button');
btn.onclick=printMe;

document.documentElement.appendChild(createElement("div"))
document.documentElement.appendChild(btn);